package com.tm.mholmu.application;

import android.app.Application;

public class MHOApplication extends Application implements Thread.UncaughtExceptionHandler {
 
	private static MHOApplication instance;
 
	@Override
	public void onCreate() {
		super.onCreate();
		instance =this;
	
	}

	// 单例模式中获取唯一的MyApplication实例
	public static MHOApplication getInstance() {
		if (null == instance) {
			instance = new MHOApplication();
		}
		return instance;
	}

	@Override
	public void uncaughtException(Thread arg0, Throwable arg1) {
		// TODO 自动生成的方法存根
		
	}



	



}
